<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/commons/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>计生专题</title>
<link href="${ctx}/css/hb.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="box">
	<div class="hb_top"><a href="http://10.78.109.32/index.jsp"><img src="${ctx}/images/web/first_ico.jpg" />返回首页</a><a href="#" onclick="javascript:window.external.AddFavorite('http://10.78.109.32/index.jsp','北京车辆段')" title="收藏本站到你的收藏夹"><img src="${ctx}/images/web/lx_my.jpg" />收藏本站</a></div>
    <div><img src="${ctx}/images/chanpin/anquan_top.jpg" /></div>
    <div><a href="#"><img src="${ctx}/images/chanpin/js.jpg" /></a></div>
    <div class="aq_centent">
	<div class="aq_imgbox2">
        <c:forEach items="${requestScope.catList}" var="item"  varStatus="varStatus">
    	 <div class="aq_imgbox">
        	
            <c:if test="${item.caTypes=='TXT'}" > 
            <div class="aq_titlebox">
            	${item.names}<a href="${ctx}/titles/js_zhuantilist.jsp?catId=${item.id}"><img src="${ctx}/images/chanpin/gd.jpg" /></a>
            </div>
            <div class="aqimg">
                <ul class="gr_list1">
            	 <c:if test="${item.newsList!=null}">
                     <c:forEach items="${item.newsList}" var="temp"> 
                     <li><span>[${temp.createTimeString}]</span><a  style=" color:#6c6c6c;/*超文字超链接的颜色*/
				display:block;/*定义为块级*/
			width:250px;/*要显示文字的宽度*/
			float:left;/*左对齐*/
			overflow:hidden; /*超出的部分隐藏起来。*/
			white-space:nowrap;/*不显示的地方用省略号...代替*/
			 padding-right:7px; /*文字距离右侧7像素。*/
			text-overflow:ellipsis;/* 支持 IE */
			-o-text-overflow: ellipsis;    /* 支持 Opera */" href="${ctx}/titles/js_zhuantidetail.jsp?newsid=${temp.id}">${temp.title}</a></li> 
                     </c:forEach>
                 </c:if>
                <div class="clear"></div>
                </ul>
                </c:if>
           <c:if test="${item.caTypes=='IMG'}" >
            <div class="aq_titlebox">
            	${item.names}<a href="${ctx}/titles/js_zhuantipic.jsp?catId=${item.id}"><img src="${ctx}/images/chanpin/gd.jpg" /></a>
            </div>
            <div class="aqimg">
                <ul>
                  <c:if test="${item.newsList!=null}">
                     <c:forEach items="${item.newsList}" var="temp"> 
                	<li style="width:116px;height:195px;" ><a href="${ctx}${temp.fromUrl}"><p class="p_tu" style="margin-bottom:5px;"><img src="${ctx}${temp.fromUrl}" height="135" width="116" /></p>
                    <span>${temp.title}</span></a></li>
                   
                   </c:forEach>
                   </c:if>
                </ul>
                 <div class="clear"></div>
                </c:if>
            </div>
        </div>
        </c:forEach>
         
        <div class="clear"></div>
    </div>
    <div class="footer"><ul>Copyright ©2011-2012 北京车辆段 版权所有</ul>
						<ul>信息技术科 联系电话：010-51868237</ul></div>
</div>
</body>
</html>
